package com.cloud.xuehua.controller;

import com.cloud.xuehua.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName HuangXiangXiang
 * @Date 2020/4/25 14:06
 * @Version V1.0
 **/

@RestController
public class XController {

    @Autowired
    private OrderService orderservice;


    @RequestMapping("/snowflake")
    public String index() {

        return orderservice.getXueHua();
    }

}
